STEP 5: Let's put all of our questions into a list so that we can loop through it later.

Variables stored in a list do not have quotes around them, but still need to be separated by commas.

  • Go to and drag out Empty List.
  • Change the list's variable name to quiz.
  • Type our question variables between the list brackets: ques_1, ques_2, ques_3, ques_4, ques_5.


To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)